package com.brillilab.service.core.experiments;

import com.brillilab.domain.po.experiments.PlateGridText;
import com.brillilab.domain.vo.experiments.PlateGridTextVo;

import java.util.List;

public interface IPlateGridTextService {
    boolean insert(PlateGridText gridText);

    int selectCountOnePlate(Long plateId);

    PlateGridText selectOne(Long plateId,Long gridId,Long stepTextId);

    List<PlateGridText> selectList(Long plateId);

    List<PlateGridTextVo> selectVoList(Long plateId,Long gridId);

    boolean deleteByPlateId(Long plateId);

    PlateGridText selectOne(Long stepTextId,Long gridId);

    boolean deleteById(Long id);

    int selectCountOneGrid(Long gridId);

    int deleteInGridIds(Long stepTextId,List<Long> gridIds);

    List<PlateGridText> selectList(List<Long> gridIds);

    int insertBatch(List<PlateGridText> texts);

    int deleteByStepTextId(Long textId);

    List<PlateGridText> selectListByTextId(Long textId);

    List<Long> selectPlateGridIdList(Long plateId);

    boolean deleteByExperimentId(Long experimentId);

    int deleteByStepTextIds(List<Long> textIds);
}
